package com.bw.entity;

import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class JobInfo {
    /**
     *
     */
    private Integer id;

    /**
     *
     */
    @NotBlank(message = "名称不为空")
    private String name;

    /**
     *
     */
    private String avatar;

    /**
     *
     */
    @NotBlank(message = "编号不为空")
    private String num;

    /**
     *
     */
    @NotBlank(message = "部门不为空")
    private String deptName;

    /**
     *
     */
    @NotNull(message = "岗位不为空")
    private Integer postId;

    private String postName;

    /**
     *
     */
    @NotNull(message = "学校不为空")
    private Integer schoolId;

    private String schoolName;
    /**
     *
     */
    @NotBlank(message = "开始时间不为空")
    private String startTime;

    /**
     *
     */
    @NotBlank(message = "结束时间不为空")
    private String endTime;

    /**
     *
     */
    private Date createTime;
}

